/**
 * 基础路由
 */

import NoNet from '@/components/noNet.vue'

export const constantRouterMap = [
  {
    path: '/',
    redirect: '/demo'
  },
  {
    path: '/404',
    component: () => import(/* webpackChunkName: "404" */ '@/components/404.vue'),
    meta: { hidden: true }
  },
  {
    path: '/nonet',
    component: NoNet,
    meta: {
      title: '网络异常'
    }
  },
  {
    path: '/demo',
    component: () => import(/* webpackChunkName: "demo" */ '@/views/demo/list.vue'),
    meta: {
      title: '列表用例'
    }
  },
  { path: '*', redirect: '/404', hidden: true }
]
